<%--
  Created by IntelliJ IDEA.
  User: 长沙吴亦凡
  Date: 2021/12/10
  Time: 12:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <form action="/createOrder" method="post">
        <table>
            <tr>
                <td>产品编号:</td>
                <td>产品名称:</td>
                <td>产品价格:</td>
                <td>购买数量:</td>

            </tr>
            <tr>
                <td><input type="text" name="productId" value="${product.id}" readonly></td>
                <td>${product.name}</td>
                <td>${product.price}</td>
                <td><input type="text" name="buyCount"></td>
                <td colspan="2">
                    <input type="submit" value="确认提交订单">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
